<?php

namespace app\admin\model;

use think\Model;

/**
 * Renew
 */
class Renew extends Model
{
    // 表名
    protected $name = 'renew';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = true;


    public function getServerAmountAttr($value): float
    {
        return (float)$value;
    }

    public function getProjectAmountAttr($value): float
    {
        return (float)$value;
    }
}